
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>search</title>
</head>
<body>

<script>
    var doNotTrack = false;
    if (!doNotTrack) {
        window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
        ga('create', 'UA-158679036-5', 'auto');
        ga('send', 'pageview');
    }
    var name_to_url = {"home": "https://labuladong.online/algo/home/", "%E5%85%A8%E5%AE%B6%E6%A1%B6%E7%AE%80%E4%BB%8B": "https://labuladong.online/algo/intro/all/", "chrome%E6%8F%92%E4%BB%B6%E7%AE%80%E4%BB%8B": "https://labuladong.online/algo/intro/chrome/", "vscode%E6%8F%92%E4%BB%B6%E7%AE%80%E4%BB%8B": "https://labuladong.online/algo/intro/vscode/", "jb%E6%8F%92%E4%BB%B6%E7%AE%80%E4%BB%8B": "https://labuladong.online/algo/intro/jetbrains/", "%E5%8F%AF%E8%A7%86%E5%8C%96%E7%AE%80%E4%BB%8B": "https://labuladong.online/algo/intro/visualize/", "%E9%9D%A2%E6%9D%BFjs%E5%9F%BA%E7%A1%80": "https://labuladong.online/algo/intro/js/", "%E6%89%93%E5%8D%A1%E6%8C%91%E6%88%98%E7%AE%80%E4%BB%8B": "https://labuladong.online/algo/challenge/", "%E7%9B%AE%E5%BD%95%E9%A1%B5": "https://labuladong.online/algo/menu/placeholder/", "%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E5%9F%BA%E7%A1%80%E7%AE%80%E4%BB%8B": "https://labuladong.online/algo/intro/data-structure-basic/", "%E7%BD%91%E7%AB%99Java%E5%9F%BA%E7%A1%80": "https://labuladong.online/algo/intro/java-basic/", "%E6%95%B0%E7%BB%84%E5%9F%BA%E7%A1%80": "https://labuladong.online/algo/data-structure-basic/array-basic/", "%E6%95%B0%E7%BB%84%E5%AE%9E%E7%8E%B0": "https://labuladong.online/algo/data-structure-basic/array-implement/", "%E9%93%BE%E8%A1%A8%E5%9F%BA%E7%A1%80": "https://labuladong.online/algo/data-structure-basic/linkedlist-basic/", "%E9%93%BE%E8%A1%A8%E5%AE%9E%E7%8E%B0": "https://labuladong.online/algo/data-structure-basic/linkedlist-implement/", "%E9%98%9F%E5%88%97%E6%A0%88%E5%9F%BA%E7%A1%80": "https://labuladong.online/algo/data-structure-basic/queue-stack-basic/", "%E9%98%9F%E5%88%97%E6%A0%88%E9%93%BE%E8%A1%A8%E5%AE%9E%E7%8E%B0": "https://labuladong.online/algo/data-structure-basic/linked-queue-stack/", "%E7%8E%AF%E5%BD%A2%E6%95%B0%E7%BB%84%E6%8A%80%E5%B7%A7": "https://labuladong.online/algo/data-structure-basic/cycle-array/", "%E9%98%9F%E5%88%97%E6%A0%88%E6%95%B0%E7%BB%84%E5%AE%9E%E7%8E%B0": "https://labuladong.online/algo/data-structure-basic/array-queue-stack/", "%E5%8F%8C%E7%AB%AF%E9%98%9F%E5%88%97%E5%8E%9F%E7%90%86%E5%AE%9E%E7%8E%B0": "https://labuladong.online/algo/data-structure-basic/deque-implement/", "%E5%93%88%E5%B8%8C%E8%A1%A8%E5%9F%BA%E7%A1%80": "https://labuladong.online/algo/data-structure-basic/hashmap-basic/", "%E5%93%88%E5%B8%8C%E8%A1%A8%E6%8B%89%E9%93%BE%E6%B3%95": "https://labuladong.online/algo/data-structure-basic/hashtable-chaining/", "%E5%93%88%E5%B8%8C%E8%A1%A8%E7%BA%BF%E6%80%A7%E6%8E%A2%E6%9F%A5%E9%9A%BE%E7%82%B9": "https://labuladong.online/algo/data-structure-basic/linear-probing-key-point/", "%E5%93%88%E5%B8%8C%E8%A1%A8%E7%BA%BF%E6%80%A7%E6%8E%A2%E6%9F%A5%E5%AE%9E%E7%8E%B0": "https://labuladong.online/algo/data-structure-basic/linear-probing-code/", "%E6%9B%B4%E6%96%B0%E4%B8%AD": "https://labuladong.online/algo/intro/updateing/", "%E6%A0%B8%E5%BF%83%E6%A1%86%E6%9E%B6%E7%AB%A0%E8%8A%82%E7%AE%80%E4%BB%8B": "https://labuladong.online/algo/intro/core-intro/", "%E5%AD%A6%E4%B9%A0%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E5%92%8C%E7%AE%97%E6%B3%95%E7%9A%84%E9%AB%98%E6%95%88%E6%96%B9%E6%B3%95": "https://labuladong.online/algo/essential-technique/abstraction-of-algorithm/", "%E7%AE%97%E6%B3%95%E5%BF%83%E5%BE%97": "https://labuladong.online/algo/essential-technique/algorithm-summary/", "%E9%93%BE%E8%A1%A8%E6%8A%80%E5%B7%A7": "https://labuladong.online/algo/essential-technique/linked-list-skills-summary/", "%E5%8F%8C%E6%8C%87%E9%92%88%E6%8A%80%E5%B7%A7": "https://labuladong.online/algo/essential-technique/array-two-pointers-summary/", "%E4%BA%8C%E5%8F%89%E6%A0%91%E6%80%BB%E7%BB%93": "https://labuladong.online/algo/essential-technique/binary-tree-summary/", "%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92%E8%AF%A6%E8%A7%A3%E8%BF%9B%E9%98%B6": "https://labuladong.online/algo/essential-technique/dynamic-programming-framework/", "%E5%9B%9E%E6%BA%AF%E7%AE%97%E6%B3%95%E8%AF%A6%E8%A7%A3%E4%BF%AE%E8%AE%A2%E7%89%88": "https://labuladong.online/algo/essential-technique/backtrack-framework/", "%E5%AD%90%E9%9B%86%E6%8E%92%E5%88%97%E7%BB%84%E5%90%88": "https://labuladong.online/algo/essential-technique/permutation-combination-subset-all-in-one/", "%E5%9B%9E%E6%BA%AF%E4%B8%A4%E7%A7%8D%E8%A7%86%E8%A7%92": "https://labuladong.online/algo/practice-in-action/two-views-of-backtrack/", "BFS%E6%A1%86%E6%9E%B6": "https://labuladong.online/algo/essential-technique/bfs-framework/", "%E4%BA%8C%E5%88%86%E6%9F%A5%E6%89%BE%E8%AF%A6%E8%A7%A3": "https://labuladong.online/algo/essential-technique/binary-search-framework/", "%E6%BB%91%E5%8A%A8%E7%AA%97%E5%8F%A3%E6%8A%80%E5%B7%A7%E8%BF%9B%E9%98%B6": "https://labuladong.online/algo/essential-technique/sliding-window-framework/", "%E6%97%B6%E9%97%B4%E5%A4%8D%E6%9D%82%E5%BA%A6": "https://labuladong.online/algo/essential-technique/complexity-analysis/", "%E9%93%BE%E8%A1%A8%E5%8F%8C%E6%8C%87%E9%92%88%E4%B9%A0%E9%A2%98": "https://labuladong.online/algo/problem-set/linkedlist-two-pointers/", "%E9%80%92%E5%BD%92%E5%8F%8D%E8%BD%AC%E9%93%BE%E8%A1%A8%E7%9A%84%E4%B8%80%E9%83%A8%E5%88%86": "https://labuladong.online/algo/data-structure/reverse-linked-list-recursion/", "k%E4%B8%AA%E4%B8%80%E7%BB%84%E5%8F%8D%E8%BD%AC%E9%93%BE%E8%A1%A8": "https://labuladong.online/algo/data-structure/reverse-nodes-in-k-group/", "%E5%88%A4%E6%96%AD%E5%9B%9E%E6%96%87%E9%93%BE%E8%A1%A8": "https://labuladong.online/algo/data-structure/palindrome-linked-list/", "%E6%95%B0%E7%BB%84%E5%8F%8C%E6%8C%87%E9%92%88%E4%B9%A0%E9%A2%98": "https://labuladong.online/algo/problem-set/array-two-pointers/", "nSum": "https://labuladong.online/algo/practice-in-action/nsum/", "%E5%89%8D%E7%BC%80%E5%92%8C%E6%8A%80%E5%B7%A7": "https://labuladong.online/algo/data-structure/prefix-sum/", "%E5%89%8D%E7%BC%80%E5%92%8C%E4%B9%A0%E9%A2%98": "https://labuladong.online/algo/problem-set/perfix-sum/", "%E5%B7%AE%E5%88%86%E6%8A%80%E5%B7%A7": "https://labuladong.online/algo/data-structure/diff-array/", "%E8%8A%B1%E5%BC%8F%E9%81%8D%E5%8E%86": "https://labuladong.online/algo/practice-in-action/2d-array-traversal-summary/", "%E6%BB%91%E5%8A%A8%E7%AA%97%E5%8F%A3%E4%B9%A0%E9%A2%98": "https://labuladong.online/algo/problem-set/sliding-window/", "rabinkarp": "https://labuladong.online/algo/practice-in-action/rabinkarp/", "%E4%BA%8C%E5%88%86%E8%BF%90%E7%94%A8": "https://labuladong.online/algo/frequency-interview/binary-search-in-action/", "%E4%BA%8C%E5%88%86%E4%B9%A0%E9%A2%98": "https://labuladong.online/algo/problem-set/binary-search/", "%E9%9A%8F%E6%9C%BA%E6%9D%83%E9%87%8D": "https://labuladong.online/algo/frequency-interview/random-pick-with-weight/", "%E7%94%B0%E5%BF%8C%E8%B5%9B%E9%A9%AC": "https://labuladong.online/algo/practice-in-action/advantage-shuffle/", "%E9%9A%8F%E6%9C%BA%E9%9B%86%E5%90%88": "https://labuladong.online/algo/data-structure/random-set/", "%E5%8D%95%E8%B0%83%E6%A0%88%E5%8E%BB%E9%87%8D": "https://labuladong.online/algo/frequency-interview/remove-duplicate-letters/", "%E4%BA%8C%E5%8F%89%E6%A0%91%E7%B3%BB%E5%88%971": "https://labuladong.online/algo/data-structure/binary-tree-part1/", "%E4%BA%8C%E5%8F%89%E6%A0%91%E7%B3%BB%E5%88%972": "https://labuladong.online/algo/data-structure/binary-tree-part2/", "%E4%BA%8C%E5%8F%89%E6%A0%91%E7%B3%BB%E5%88%973": "https://labuladong.online/algo/data-structure/binary-tree-part3/", "%E4%BA%8C%E5%8F%89%E6%A0%91%E7%9A%84%E5%BA%8F%E5%88%97%E5%8C%96": "https://labuladong.online/algo/data-structure/serialize-and-deserialize-binary-tree/", "%E5%BD%92%E5%B9%B6%E6%8E%92%E5%BA%8F": "https://labuladong.online/algo/practice-in-action/merge-sort/", "BST1": "https://labuladong.online/algo/data-structure/bst-part1/", "BST2": "https://labuladong.online/algo/data-structure/bst-part2/", "BST3": "https://labuladong.online/algo/data-structure/bst-part3/", "%E5%BF%AB%E9%80%9F%E6%8E%92%E5%BA%8F": "https://labuladong.online/algo/practice-in-action/quick-sort/", "nestInteger": "https://labuladong.online/algo/data-structure/flatten-nested-list-iterator/", "%E5%85%AC%E5%85%B1%E7%A5%96%E5%85%88": "https://labuladong.online/algo/practice-in-action/lowest-common-ancestor-summary/", "%E5%AE%8C%E5%85%A8%E4%BA%8C%E5%8F%89%E6%A0%91%E8%8A%82%E7%82%B9%E6%95%B0": "https://labuladong.online/algo/data-structure/count-complete-tree-nodes/", "%E4%B9%A0%E9%A2%98%E9%81%8D%E5%8E%861": "https://labuladong.online/algo/problem-set/binary-tree-traverse-1/", "%E4%B9%A0%E9%A2%98%E9%81%8D%E5%8E%862": "https://labuladong.online/algo/problem-set/binary-tree-traverse-2/", "%E4%B9%A0%E9%A2%98%E9%81%8D%E5%8E%863": "https://labuladong.online/algo/problem-set/binary-tree-traverse-3/", "%E4%B9%A0%E9%A2%98%E5%88%86%E8%A7%A3%E9%97%AE%E9%A2%981": "https://labuladong.online/algo/problem-set/binary-tree-divide-1/", "%E4%B9%A0%E9%A2%98%E5%88%86%E8%A7%A3%E9%97%AE%E9%A2%982": "https://labuladong.online/algo/problem-set/binary-tree-divide-2/", "%E4%B9%A0%E9%A2%98%E7%BB%BC%E5%90%88%E4%B8%A4%E7%A7%8D": "https://labuladong.online/algo/problem-set/binary-tree-combine-two-view/", "%E4%B9%A0%E9%A2%98%E5%90%8E%E5%BA%8F1": "https://labuladong.online/algo/problem-set/binary-tree-post-order-1/", "%E4%B9%A0%E9%A2%98%E5%90%8E%E5%BA%8F2": "https://labuladong.online/algo/problem-set/binary-tree-post-order-2/", "%E4%B9%A0%E9%A2%98%E5%90%8E%E5%BA%8F3": "https://labuladong.online/algo/problem-set/binary-tree-traverse-3/", "%E4%B9%A0%E9%A2%98%E5%B1%82%E5%BA%8F1": "https://labuladong.online/algo/problem-set/binary-tree-level-1/", "%E4%B9%A0%E9%A2%98%E5%B1%82%E5%BA%8F2": "https://labuladong.online/algo/problem-set/binary-tree-level-2/", "%E4%B9%A0%E9%A2%98%E6%90%9C%E7%B4%A2%E6%A0%911": "https://labuladong.online/algo/problem-set/bst1/", "%E4%B9%A0%E9%A2%98%E6%90%9C%E7%B4%A2%E6%A0%912": "https://labuladong.online/algo/problem-set/bst2/", "%E9%98%9F%E5%88%97%E5%AE%9E%E7%8E%B0%E6%A0%88%E6%A0%88%E5%AE%9E%E7%8E%B0%E9%98%9F%E5%88%97": "https://labuladong.online/algo/data-structure/stack-queue/", "%E6%A0%88%E4%B9%A0%E9%A2%98": "https://labuladong.online/algo/problem-set/stack/", "%E9%98%9F%E5%88%97%E4%B9%A0%E9%A2%98": "https://labuladong.online/algo/problem-set/queue/", "%E5%8D%95%E8%B0%83%E6%A0%88": "https://labuladong.online/algo/data-structure/monotonic-stack/", "%E5%8D%95%E8%B0%83%E6%A0%88%E4%B9%A0%E9%A2%98": "https://labuladong.online/algo/problem-set/monotonic-stack/", "%E5%8D%95%E8%B0%83%E9%98%9F%E5%88%97": "https://labuladong.online/algo/data-structure/monotonic-queue/", "%E5%8D%95%E8%B0%83%E9%98%9F%E5%88%97%E4%B9%A0%E9%A2%98": "https://labuladong.online/algo/problem-set/monotonic-queue/", "LRU%E7%AE%97%E6%B3%95": "https://labuladong.online/algo/data-structure/lru-cache/", "LFU": "https://labuladong.online/algo/frequency-interview/lfu/", "%E5%93%88%E5%B8%8C%E8%A1%A8%E4%B9%A0%E9%A2%98": "https://labuladong.online/algo/problem-set/hash-table/", "trie": "https://labuladong.online/algo/data-structure/trie/", "%E6%95%B0%E6%8D%AE%E6%B5%81%E4%B8%AD%E4%BD%8D%E6%95%B0": "https://labuladong.online/algo/practice-in-action/find-median-from-data-stream/", "%E4%BA%8C%E5%8F%89%E5%A0%86%E8%AF%A6%E8%A7%A3%E5%AE%9E%E7%8E%B0%E4%BC%98%E5%85%88%E7%BA%A7%E9%98%9F%E5%88%97": "https://labuladong.online/algo/data-structure/binary-heap-priority-queue/", "%E4%BA%8C%E5%8F%89%E5%A0%86%E4%B9%A0%E9%A2%98": "https://labuladong.online/algo/problem-set/binary-heap/", "%E8%AE%BE%E8%AE%A1Twitter": "https://labuladong.online/algo/data-structure/design-twitter/", "%E8%AE%BE%E8%AE%A1%E4%B9%A0%E9%A2%98": "https://labuladong.online/algo/problem-set/ds-design/", "%E5%9B%BE": "https://labuladong.online/algo/data-structure/graph-traverse/", "%E5%90%8D%E4%BA%BA%E9%97%AE%E9%A2%98": "https://labuladong.online/algo/frequency-interview/find-celebrity/", "%E6%8B%93%E6%89%91%E6%8E%92%E5%BA%8F": "https://labuladong.online/algo/data-structure/topological-sort/", "%E4%BA%8C%E5%88%86%E5%9B%BE": "https://labuladong.online/algo/data-structure/bipartite-graph/", "UnionFind%E7%AE%97%E6%B3%95%E8%AF%A6%E8%A7%A3": "https://labuladong.online/algo/data-structure/union-find/", "kruskal": "https://labuladong.online/algo/data-structure/kruskal/", "prim%E7%AE%97%E6%B3%95": "https://labuladong.online/algo/data-structure/prim/", "dijkstra%E7%AE%97%E6%B3%95": "https://labuladong.online/algo/data-structure/dijkstra/", "%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92%E8%AE%BE%E8%AE%A1%EF%BC%9A%E6%9C%80%E9%95%BF%E9%80%92%E5%A2%9E%E5%AD%90%E5%BA%8F%E5%88%97": "https://labuladong.online/algo/dynamic-programming/longest-increasing-subsequence/", "%E6%9C%80%E4%BC%98%E5%AD%90%E7%BB%93%E6%9E%84": "https://labuladong.online/algo/dynamic-programming/faq-summary/", "%E5%A4%87%E5%BF%98%E5%BD%95%E7%AD%89%E5%9F%BA%E7%A1%80": "https://labuladong.online/algo/dynamic-programming/memo-fundamental/", "%E5%8A%A8%E5%BD%92%E4%B8%A4%E7%A7%8D%E8%A7%86%E8%A7%92": "https://labuladong.online/algo/dynamic-programming/two-views-of-dp/", "%E5%8D%95%E8%AF%8D%E6%8B%BC%E6%8E%A5": "https://labuladong.online/algo/dynamic-programming/word-break/", "%E7%8A%B6%E6%80%81%E5%8E%8B%E7%BC%A9%E6%8A%80%E5%B7%A7": "https://labuladong.online/algo/dynamic-programming/space-optimization/", "%E7%BC%96%E8%BE%91%E8%B7%9D%E7%A6%BB": "https://labuladong.online/algo/dynamic-programming/edit-distance/", "%E6%9C%80%E5%A4%A7%E5%AD%90%E6%95%B0%E7%BB%84": "https://labuladong.online/algo/dynamic-programming/maximum-subarray/", "LCS": "https://labuladong.online/algo/dynamic-programming/longest-common-subsequence/", "%E5%AD%90%E5%BA%8F%E5%88%97%E9%97%AE%E9%A2%98%E6%A8%A1%E6%9D%BF": "https://labuladong.online/algo/dynamic-programming/subsequence-problem/", "%E8%83%8C%E5%8C%85%E9%97%AE%E9%A2%98": "https://labuladong.online/algo/dynamic-programming/knapsack1/", "%E8%83%8C%E5%8C%85%E5%AD%90%E9%9B%86": "https://labuladong.online/algo/dynamic-programming/knapsack2/", "%E8%83%8C%E5%8C%85%E9%9B%B6%E9%92%B1": "https://labuladong.online/algo/dynamic-programming/knapsack3/", "targetSum": "https://labuladong.online/algo/dynamic-programming/target-sum/", "%E6%9C%80%E5%B0%8F%E8%B7%AF%E5%BE%84%E5%92%8C": "https://labuladong.online/algo/dynamic-programming/minimum-path-sum/", "%E9%AD%94%E5%A1%94": "https://labuladong.online/algo/dynamic-programming/magic-tower/", "%E8%BD%AC%E7%9B%98": "https://labuladong.online/algo/dynamic-programming/freedom-trail/", "%E6%97%85%E8%A1%8C%E6%9C%80%E7%9F%AD%E8%B7%AF%E5%BE%84": "https://labuladong.online/algo/dynamic-programming/cheap-travel/", "%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92%E4%B9%8B%E6%AD%A3%E5%88%99%E8%A1%A8%E8%BE%BE": "https://labuladong.online/algo/dynamic-programming/regular-expression-matching/", "%E9%AB%98%E6%A5%BC%E6%89%94%E9%B8%A1%E8%9B%8B%E9%97%AE%E9%A2%98": "https://labuladong.online/algo/dynamic-programming/egg-drop/", "%E6%89%8E%E6%B0%94%E7%90%83": "https://labuladong.online/algo/dynamic-programming/burst-balloons/", "%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92%E4%B9%8B%E5%8D%9A%E5%BC%88%E9%97%AE%E9%A2%98": "https://labuladong.online/algo/dynamic-programming/game-theory/", "%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92%E4%B9%8B%E5%9B%9B%E9%94%AE%E9%94%AE%E7%9B%98": "https://labuladong.online/algo/dynamic-programming/four-keyboard/", "%E6%8A%A2%E6%88%BF%E5%AD%90": "https://labuladong.online/algo/dynamic-programming/house-robber/", "%E5%9B%A2%E7%81%AD%E8%82%A1%E7%A5%A8%E9%97%AE%E9%A2%98": "https://labuladong.online/algo/dynamic-programming/stock-problem-summary/", "%E8%80%81%E5%8F%B8%E6%9C%BA": "https://labuladong.online/algo/frequency-interview/gas-station-greedy/", "%E8%B4%AA%E5%BF%83%E7%AE%97%E6%B3%95%E4%B9%8B%E5%8C%BA%E9%97%B4%E8%B0%83%E5%BA%A6%E9%97%AE%E9%A2%98": "https://labuladong.online/algo/frequency-interview/interval-scheduling/", "%E5%AE%89%E6%8E%92%E4%BC%9A%E8%AE%AE%E5%AE%A4": "https://labuladong.online/algo/frequency-interview/scan-line-technique/", "%E5%89%AA%E8%A7%86%E9%A2%91": "https://labuladong.online/algo/frequency-interview/cut-video/", "%E8%B7%B3%E8%B7%83%E6%B8%B8%E6%88%8F": "https://labuladong.online/algo/frequency-interview/jump-game-summary/", "%E5%B2%9B%E5%B1%BF%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/frequency-interview/island-dfs-summary/", "sudoku": "https://labuladong.online/algo/practice-in-action/sudoku/", "%E5%90%88%E6%B3%95%E6%8B%AC%E5%8F%B7%E7%94%9F%E6%88%90": "https://labuladong.online/algo/practice-in-action/generate-parentheses/", "%E9%9B%86%E5%90%88%E5%88%92%E5%88%86": "https://labuladong.online/algo/practice-in-action/partition-to-k-equal-sum-subsets/", "BFS%E8%A7%A3%E5%86%B3%E6%BB%91%E5%8A%A8%E6%8B%BC%E5%9B%BE": "https://labuladong.online/algo/practice-in-action/sliding-puzzle/", "%E4%B8%80%E8%A1%8C%E4%BB%A3%E7%A0%81%E8%A7%A3%E5%86%B3%E7%9A%84%E6%99%BA%E5%8A%9B%E9%A2%98": "https://labuladong.online/algo/frequency-interview/one-line-solutions/", "%E5%87%A0%E4%B8%AA%E5%8F%8D%E7%9B%B4%E8%A7%89%E7%9A%84%E6%A6%82%E7%8E%87%E9%97%AE%E9%A2%98": "https://labuladong.online/algo/frequency-interview/probability-problem/", "%E5%B8%B8%E7%94%A8%E7%9A%84%E4%BD%8D%E6%93%8D%E4%BD%9C": "https://labuladong.online/algo/frequency-interview/bitwise-operation/", "%E9%9A%8F%E6%9C%BA%E7%AE%97%E6%B3%95": "https://labuladong.online/algo/frequency-interview/random-algorithm/", "%E9%98%B6%E4%B9%98%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/frequency-interview/factorial-problems/", "%E6%89%93%E5%8D%B0%E7%B4%A0%E6%95%B0": "https://labuladong.online/algo/frequency-interview/print-prime-number/", "superPower": "https://labuladong.online/algo/frequency-interview/quick-power/", "%E7%BC%BA%E5%A4%B1%E5%92%8C%E9%87%8D%E5%A4%8D%E7%9A%84%E5%85%83%E7%B4%A0": "https://labuladong.online/algo/frequency-interview/mismatch-set/", "%E5%88%B7%E9%A2%98%E6%8A%80%E5%B7%A7": "https://labuladong.online/algo/other-skills/tips-in-exam/", "%E4%B8%91%E6%95%B0": "https://labuladong.online/algo/frequency-interview/ugly-number-summary/", "%E5%88%86%E6%B2%BB%E7%AE%97%E6%B3%95": "https://labuladong.online/algo/practice-in-action/divide-and-conquer/", "%E5%8C%BA%E9%97%B4%E9%97%AE%E9%A2%98%E5%90%88%E9%9B%86": "https://labuladong.online/algo/practice-in-action/interval-problem-summary/", "%E6%96%97%E5%9C%B0%E4%B8%BB": "https://labuladong.online/algo/practice-in-action/split-array-into-consecutive-subsequences/", "%E7%83%A7%E9%A5%BC%E6%8E%92%E5%BA%8F": "https://labuladong.online/algo/frequency-interview/pancake-sorting/", "%E5%AD%97%E7%AC%A6%E4%B8%B2%E4%B9%98%E6%B3%95": "https://labuladong.online/algo/practice-in-action/multiply-strings/", "%E5%AE%9E%E7%8E%B0%E8%AE%A1%E7%AE%97%E5%99%A8": "https://labuladong.online/algo/data-structure/implement-calculator/", "%E6%8E%A5%E9%9B%A8%E6%B0%B4": "https://labuladong.online/algo/frequency-interview/trapping-rain-water/", "%E6%8B%AC%E5%8F%B7%E6%8F%92%E5%85%A5": "https://labuladong.online/algo/frequency-interview/bracket-problems-summary/", "%E5%AE%8C%E7%BE%8E%E7%9F%A9%E5%BD%A2": "https://labuladong.online/algo/frequency-interview/perfect-rectangle/", "%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97vscode": "https://labuladong.online/algo/changelog/vscode/", "%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97jetbrain": "https://labuladong.online/algo/changelog/jetbrain/", "%E7%BA%B8%E8%B4%A8%E4%B9%A6%E7%AE%80%E4%BB%8B": "https://labuladong.online/algo/book/", "%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97%E5%8F%AF%E8%A7%86%E5%8C%96%E9%9D%A2%E6%9D%BF": "https://labuladong.online/algo/changelog/visualize/", "%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97chrome": "https://labuladong.online/algo/changelog/chrome/", "%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97%E7%BD%91%E7%AB%99": "https://labuladong.online/algo/changelog/website/", "%E7%BD%91%E7%AB%99%E4%BC%9A%E5%91%98": "https://labuladong.online/algo/intro/site-vip/", "%E7%BA%B8%E8%B4%A8%E4%B9%A6%E5%8B%98%E8%AF%AF": "https://labuladong.online/algo/book-correction/", "%E5%8F%AF%E8%A7%86%E5%8C%96%E7%BC%96%E8%BE%91%E5%99%A8": "https://labuladong.online/algo/intro/visualize-editor/", "ds%E8%AF%BE%E7%A8%8B%E7%AE%80%E4%BB%8B": "https://labuladong.online/algo/ds-class/", "tree%E8%AF%BE%E7%A8%8B%E7%AE%80%E4%BB%8B": "https://labuladong.online/algo/tree-class/", "%E5%88%B7%E9%A2%98%E7%AC%94%E8%AE%B0": "https://labuladong.online/algo/", "%E4%BB%85%E6%8F%92%E4%BB%B6": "https://labuladong.online/algo/", "%E7%BD%91%E7%AB%99%E4%BB%8B%E7%BB%8D": "https://labuladong.online/algo/", "%E5%8F%AF%E8%A7%86%E5%8C%96%E7%BC%96%E8%BE%91%E5%99%A8-wx": "https://labuladong.online/algo/intro/visualize-editor/", "%E7%AE%97%E6%B3%95%E7%A7%98%E7%B1%8D": "https://labuladong.online/algo/", "pdf%E7%AE%80%E4%BB%8B": "https://labuladong.online/algo/", "%E6%89%93%E5%8D%A1%E6%B5%81%E7%A8%8B": "https://labuladong.online/algo/intro/challenge-process/", "%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97Chrome": "https://labuladong.online/algo/changelog/chrome/", "why-all-in-one": "https://labuladong.online/algo/intro/why-all-in-one/", "%E6%BB%91%E5%8A%A8%E7%AA%97%E5%8F%A3%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/", "%E4%BA%8C%E5%8F%89%E5%A0%86%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/", "%E6%A0%88%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/", "%E5%8D%95%E8%B0%83%E9%98%9F%E5%88%97%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/", "%E4%BA%8C%E5%88%86%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/", "%E5%8F%8C%E6%8C%87%E9%92%88%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/", "%E8%AE%BE%E8%AE%A1%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/", "%E5%93%88%E5%B8%8C%E8%A1%A8%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/", "%E5%89%8D%E7%BC%80%E5%92%8C%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/", "%E9%98%9F%E5%88%97%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/", "%E5%8D%95%E8%B0%83%E6%A0%88%E5%8F%98%E4%BD%93": "https://labuladong.online/algo/", "%E5%8D%95%E8%B0%83%E6%A0%88%E9%A2%98%E7%9B%AE": "https://labuladong.online/algo/", "%E9%98%9F%E5%88%97%E6%A0%88%E5%AE%9E%E7%8E%B0": "https://labuladong.online/algo/", "%E5%93%88%E5%B8%8C%E9%9B%86%E5%90%88": "https://labuladong.online/algo/", "LinkedHash": "https://labuladong.online/algo/", "ArrayHash": "https://labuladong.online/algo/", "RingBuffer": "https://labuladong.online/algo/", "%E9%80%92%E5%BD%92%E9%93%BE%E8%A1%A8": "https://labuladong.online/algo/", "%E5%8F%8C%E7%AB%AF%E9%98%9F%E5%88%97": "https://labuladong.online/algo/", "MyTreeMap": "https://labuladong.online/algo/", "test": "https://labuladong.online/algo/", "%E7%BA%BF%E6%80%A7%E6%8E%A2%E6%9F%A5": "https://labuladong.online/algo/", "%E6%95%B0%E7%BB%84%E9%93%BE%E8%A1%A8%E5%AE%9E%E7%8E%B0": "https://labuladong.online/algo/", "%E6%8B%89%E9%93%BE%E6%B3%95": "https://labuladong.online/algo/", "%E9%81%8D%E5%8E%863": "https://labuladong.online/algo/", "%E6%90%9C%E7%B4%A2%E6%A0%912": "https://labuladong.online/algo/", "%E5%B1%82%E5%BA%8F2": "https://labuladong.online/algo/", "%E5%88%86%E8%A7%A3%E9%97%AE%E9%A2%981": "https://labuladong.online/algo/", "%E9%81%8D%E5%8E%862": "https://labuladong.online/algo/", "%E5%90%8E%E5%BA%8F2": "https://labuladong.online/algo/", "%E5%90%8E%E5%BA%8F3": "https://labuladong.online/algo/", "%E5%90%8E%E5%BA%8F1": "https://labuladong.online/algo/", "%E7%BB%BC%E5%90%88%E4%B8%A4%E7%A7%8D": "https://labuladong.online/algo/", "%E5%88%86%E8%A7%A3%E9%97%AE%E9%A2%982": "https://labuladong.online/algo/", "%E5%B1%82%E5%BA%8F1": "https://labuladong.online/algo/", "%E9%81%8D%E5%8E%861": "https://labuladong.online/algo/", "%E6%90%9C%E7%B4%A2%E6%A0%911": "https://labuladong.online/algo/", "tree%E5%AD%A6%E4%B9%A0%E7%BE%A4": "https://labuladong.online/algo/", "%E8%A7%A3%E9%94%81ds%E6%8F%92%E4%BB%B6": "https://labuladong.online/algo/", "Java%E5%9F%BA%E7%A1%80": "https://labuladong.online/algo/", "tree%E7%BD%91%E9%A1%B5": "https://labuladong.online/algo/", "ds%E5%AD%A6%E4%B9%A0%E7%BE%A4": "https://labuladong.online/algo/", "ds%E7%BD%91%E9%A1%B5": "https://labuladong.online/algo/", "%E8%A7%A3%E9%94%81tree%E6%8F%92%E4%BB%B6": "https://labuladong.online/algo/", "%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92%E4%B9%8BKMP%E5%AD%97%E7%AC%A6%E5%8C%B9%E9%85%8D%E7%AE%97%E6%B3%95": "https://labuladong.online/algo/other-skills/kmp/", "README": "https://labuladong.online/algo/", "%E6%B4%97%E7%89%8C%E7%AE%97%E6%B3%95": "https://labuladong.online/algo/practice-in-action/shuffle-algorithm/", "FloodFill%E7%AE%97%E6%B3%95%E8%AF%A6%E8%A7%A3%E5%8F%8A%E5%BA%94%E7%94%A8": "https://labuladong.online/algo/", "%E4%BA%8C%E5%88%86%E6%9F%A5%E6%89%BE%E5%88%A4%E5%AE%9A%E5%AD%90%E5%BA%8F%E5%88%97": "https://labuladong.online/algo/frequency-interview/binary-search-subsequence/", "%E5%BA%A7%E4%BD%8D%E8%B0%83%E5%BA%A6": "https://labuladong.online/algo/frequency-interview/exam-room/", "%E5%90%83%E8%91%A1%E8%90%84": "https://labuladong.online/algo/frequency-interview/eat-grape/", "%E6%9C%80%E5%A4%A7%E6%A0%88": "https://labuladong.online/algo/frequency-interview/max-stack/", "%E5%90%8E%E5%BA%8F%E9%81%8D%E5%8E%86": "https://labuladong.online/algo/data-structure/postorder-traversal/", "%E8%BF%AD%E4%BB%A3%E9%81%8D%E5%8E%86%E4%BA%8C%E5%8F%89%E6%A0%91": "https://labuladong.online/algo/data-structure/iterative-traversal-binary-tree/", "%E5%8F%82%E4%B8%8E%E5%BC%80%E6%BA%90": "https://labuladong.online/algo/other-skills/play-with-open-source/", "chatGPT": "https://labuladong.online/algo/", "linux%E8%BF%9B%E7%A8%8B": "https://labuladong.online/algo/other-skills/linux-process/", "session%E5%92%8Ccookie": "https://labuladong.online/algo/other-skills/session-and-cookie/", "linux%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F": "https://labuladong.online/algo/other-skills/linux-file-system/", "LSM%E6%A0%91": "https://labuladong.online/algo/other-skills/lsm-tree/", "git%E5%B8%B8%E7%94%A8%E5%91%BD%E4%BB%A4": "https://labuladong.online/algo/other-skills/git-commands/", "%E5%AD%A6%E4%B9%A0%E6%96%B9%E6%B3%95": "https://labuladong.online/algo/other-skills/learning-algorithm/", "%E6%B6%88%E6%81%AF%E9%98%9F%E5%88%97": "https://labuladong.online/algo/other-skills/message-queue/", "%E5%9C%A8%E7%BA%BF%E7%BB%83%E4%B9%A0%E5%B9%B3%E5%8F%B0": "https://labuladong.online/algo/other-skills/online-practice-platform/", "%E8%B0%83%E8%AF%95%E6%8A%80%E5%B7%A7": "https://labuladong.online/algo/other-skills/debug-tips/", "linuxshell": "https://labuladong.online/algo/other-skills/linux-shell/", "%E5%BF%83%E6%B5%81": "https://labuladong.online/algo/other-skills/hert-flow/", "redis%E5%85%A5%E4%BE%B5": "https://labuladong.online/algo/other-skills/redis-intrusion/", "linux%E6%8A%80%E5%B7%A73": "https://labuladong.online/algo/other-skills/linux-pipeline/", "%E5%AF%86%E7%A0%81%E6%8A%80%E6%9C%AF": "https://labuladong.online/algo/other-skills/encryption-algorithm/", "PDF%E4%B8%AD%E7%9A%84%E7%AE%97%E6%B3%95": "https://labuladong.online/algo/other-skills/algorithm-in-pdf/", "%E7%82%B8%E5%BC%B9%E4%BA%BA%E6%B8%B8%E6%88%8F": "https://labuladong.online/algo/other-skills/multiplayer-game/", "%E6%A0%A1%E6%8B%9B%E6%89%AB%E7%9B%B2": "https://labuladong.online/algo/other-skills/campus-recruitment/", "game1-introduce": "https://labuladong.online/algo/", "game4-pulsar": "https://labuladong.online/algo/", "%E4%B8%80%E8%87%B4%E6%80%A7%E5%93%88%E5%B8%8C": "https://labuladong.online/algo/", "game6-function": "https://labuladong.online/algo/", "game5-schema": "https://labuladong.online/algo/", "game7-connector": "https://labuladong.online/algo/", "game2-use-mq": "https://labuladong.online/algo/", "game3-2d-framwork": "https://labuladong.online/algo/", "%E6%8A%A5%E5%90%8D%E6%89%93%E5%8D%A1": "https://labuladong.online/algo/challenge/"};
   function getQueryVariable(variable) {
       var query = window.location.search.substring(1);
       var vars = query.split("&");
       for (var i = 0; i < vars.length; i++) {
           var pair = vars[i].split("=");
           if (pair[0] === variable) {
               return pair[1];
           }
       }
       return false;
   }

   var fname = getQueryVariable("fname")
   fname = encodeURI(decodeURI(fname))
   var host = window.location.host;
   var homeUrl = "https://labuladong.online/algo/"
   var targetUrl = name_to_url[fname] || homeUrl
   var id_anchor = getQueryVariable("id")
   if (id_anchor) {
      targetUrl = targetUrl + "#" + id_anchor
   }
   window.location.replace(targetUrl)
</script>
</body>
</html>
